package com.deluxelx.soul.inn.bean.counselor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 可预约时间，前端展示
 *
 * @author: zihao.liao
 * @date: 2024/5/28 12:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScheduleTime implements Cloneable {

    private String month;

    private String day;

    private String weekday;

    private Integer morning;

    private Integer afternoon;

    @Override
    public ScheduleTime clone() {
        try {
            return (ScheduleTime) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
    }
}
